package common

const (
	USERNAME  = "username"
	EXP       = "exp"
	TOKEN     = "Authorization"
	SHARED    = "SHARED"
	EXCLUSIVE = "EXCLUSIVE"
	ONETIME   = "onetime"
	REPEAT    = "repeat"
)

const (
	TASK_STOP = 2
	TASK_RUN  = 1
)

type UserStatus struct {
	Status int    `json:"status"`
	Desc   string `json:"desc"`
}

var (
	UserNormal = &UserStatus{Status: 1, Desc: "正常"}
	UserDown   = &UserStatus{Status: 2, Desc: "禁用"}
)
